package com.lakeworks;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 启动程序
 *
 * @author lakeworks
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableTransactionManagement
//@EnableAsync
public class LakeWorksApplication {
    public static void main(String[] args) {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(LakeWorksApplication.class, args);
        System.out.println(
                "██╗      █████╗ ██╗  ██╗███████╗██╗    ██╗ ██████╗ ██████╗ ██╗  ██╗███████╗\n" +
                        "██║     ██╔══██╗██║ ██╔╝██╔════╝██║    ██║██╔═══██╗██╔══██╗██║ ██╔╝██╔════╝\n" +
                        "██║     ███████║█████╔╝ █████╗  ██║ █╗ ██║██║   ██║██████╔╝█████╔╝ ███████╗\n" +
                        "██║     ██╔══██║██╔═██╗ ██╔══╝  ██║███╗██║██║   ██║██╔══██╗██╔═██╗ ╚════██║\n" +
                        "███████╗██║  ██║██║  ██╗███████╗╚███╔███╔╝╚██████╔╝██║  ██║██║  ██╗███████║\n" +
                        "╚══════╝╚═╝  ╚═╝╚═╝  ╚═╝╚══════╝ ╚══╝╚══╝  ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝╚══════╝\n" +
                        "工厂作业系统启动成功！！！");
    }


}
